About the URLROOT repository variable

When you create a web application in QA Wizard Pro, you can automatically create a URLROOT repository variable to help with testing a web site hosted on multiple servers. The variable value is the server address that hosts the web site you are testing. For example, if the URL for the new application is www.wysicorp.com/login, the URLROOT variable value is www.wysicorp.com.

After the URLROOT variable is created, you can use it anywhere in scripts and expected values for window and control properties. For example, you can add the variable before the RunApp statement to specify the address used to open the web site and replace other references to the variable throughout the script. See Running web scripts against different servers.

By default, the URLROOT variable has the following settings:

Tip: You can modify variable settings after you add the application. See Editing repository variables.